class RenameUserFields < ActiveRecord::Migration
  def self.up
    change_table :users do |t|
      t.rename :edit_count, :edits_count
      t.rename :post_count, :posts_count
    end
  end

  def self.down
    change_table :users do |t|
      t.rename :edits_count, :edit_count
      t.rename :posts_count, :post_count
    end
  end
end
